import { style } from '../../../theme/style';
import { GLOBAL } from '../../../config/global';
import {
	StyleSheet,
	PixelRatio
} from "react-native";
const scale = GLOBAL.SCALE;

export const enterpriseStyles = StyleSheet.create({
	requireText: {
		fontSize: 12 * scale,
		color: 'red',
		marginLeft: 10 * scale,
	},
	footBtnText: {
		fontSize: 13 * scale,
		color: '#fff',
	},
	footBtn: {
		justifyContent: 'center',
		alignItems: 'center',
		width: 56 * scale,
		height: 56 * scale,
		borderRadius: 50,
		backgroundColor: style.color.themeColor,
	},
	footSaveBtn: {
		flex: 4,
		justifyContent: 'center',
		alignItems: 'flex-end',
		height: 46 * scale,
		marginRight: 10 * scale,
		marginBottom: 10 * scale,
	},
	footSaveBtnBtn: {
		flex: 1,
		justifyContent: 'center',
		alignItems: 'center',
		width: 66 * scale,
		borderBottomColor: '#404040',
		borderBottomWidth: 1,
	},
	footSaveBtnText: {
		fontSize: 13 * scale,
		color: '#404040',
		paddingRight: 13 * scale,
		paddingLeft: 12 * scale
	},
	footBtnCell: {
		flex: 1,
		flexDirection: 'row',
		justifyContent: 'space-between',
		alignItems: 'flex-end',
		paddingTop: 20 * scale,
		paddingBottom: 20 * scale,
	},
	attachmentRow: {
		flexDirection: 'row',
		marginTop: 12 * scale,
		marginBottom: 12 * scale,
		flexWrap: 'wrap',
	},
	attachment: {
		width: 100 * scale,
		height: 100 * scale,
		marginRight: 12 * scale,
		marginBottom: 12 * scale,
	},
	cover: {
		width: 98 * scale,
		height: 98 * scale,
	},
	imgDemoBg: {
		width: '100%',
		height: '100%',
		backgroundColor: 'rgba(0,0,0,.5)',
		position: 'absolute',
		top: 0,
		alignItems: 'center',
		justifyContent: 'center',
	},
	imgDemoText: {
		color: '#fff',
		fontSize: 20 * scale,
	},
	optionView: {
		height: 42 * scale,
		alignItems: 'center',
		justifyContent: 'space-between',
		flexDirection: 'row',
	},
	arrowLeft: {
		width: 6 * scale,
		height: 11 * scale,
	},
	textInputView: {
		alignItems: 'center',
		justifyContent: 'space-between',
		flexDirection: 'row',
		flexWrap: 'wrap'
	},
	textInputIcon: {
		alignItems: 'center',
		justifyContent: 'flex-end',
		flexDirection: 'row',
		height: 42 * scale,
		width: 52 * scale,
	},
	textInput: {
		borderWidth: 0,
		fontSize: 13 * scale,
		color: '#404040',
		height: 42 * scale,
		padding: 0,
	},
	titleText: {
		fontSize: 20 * scale,
		color: '#404040',
		marginBottom: 23 * scale,
	},
	field: {
		borderBottomColor: '#e4e4e4',
		borderBottomWidth: 1 / PixelRatio.get(),
		marginBottom: 12 * scale,
	},
	lableText: {
		fontSize: 12 * scale,
		color: '#000'
	},
	checkCompanyText: {
		fontSize: 12 * scale,
		color: 'red',
	},
	text: {
		fontSize: 13 * scale,
		color: '#404040',
		marginRight: 8 * scale,
	},
	textBig: {
		fontSize: 14 * scale,
		color: '#404040'
	},
	textSuccess: {
		color: style.color.themeColor,
	},
	textQuantity: {
		fontSize: 18 * scale,
		color: '#4B4B4B'
	},
	textFail: {
		color: '#EE5D5D'
	},
	textGray: {
		color: '#8B8B8B'
	},
	backGray: {
		// width: 16 * scale,
		height: 16 * scale,
	},
	topClose: {
		height: 16 * scale,
	},
	attachmentborder: {
		width: '100%',
		height: 1 * scale,
		backgroundColor: style.color.border,
		marginBottom: 16 * scale
	},
	selectContainer: {
		flex: 1,
		flexDirection: 'row',
		alignItems: 'center',
		borderBottomWidth: 1,
		borderStyle: 'solid',
		borderBottomColor: '#000',
		marginTop: 40 * scale,
		marginBottom: 60 * scale
	},
	tip: {
		backgroundColor: '#fff0b3',
		padding: 10 * scale,
		marginTop: 10 * scale
	},
	button: {
		marginTop: 50 * scale,
		width: 99 * scale,
		height: 39 * scale,
		backgroundColor: '#0E7FFD',
		borderRadius: 15 * scale,
		justifyContent: 'center',
		alignItems: 'center',
	},
	buttonText: {
		fontSize: 14 * scale,
		color: '#fff'
	},
	businessGroup: {
		fontSize: 12 * scale,
		fontWeight: 'bold',
		marginBottom: 12 * scale
	}
});